# while循环


# 应用场景：
# 计算1+2+3+...+100的和
# i = 0
# sum = 0
# while i < 101:
#     sum = sum + i
#     i = i + 1
#     print(i)
# print(sum)


i = 1
while i <= 3:
    print(f"外循环：{i}")
    i = i + 1
    j = 1
    while j <= 3:
        print(f"内循环：{j}")
        j = j + 1
